<!-- Modal -->
<div class="modal fade" id="modifyModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h2 class="modal-title" id="myModalLabel">修改 {{.user_email}}</h2>
      </div>
      <div class="modal-body">
        <form role="form">
          <div class="form-group">
            <label for="exampleInputPassword1">昵称</label>
            <input type="text" class="form-control" id="user_modify_nick" placeholder="{{.user_nick}}">
            <input name="level" id="user_modify_class" type="text" class="hide" value="{{.user_class}}"/>
          </div>
          <div class="form-inline">
            <div class="btn-group" id="set_class">
              <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
              身份: <div class="btn-group" id="user_modify_class">{{.GetUserClassName | .user_class}}</div>
              <span class="caret"></span>
              </button>
              <ul class="dropdown-menu">
                <li><a href="javascript:set_class(0);">普通用戶</a></li>
                <li><a href="javascript:set_class(1);">管理員</a></li>
                <li><a href="javascript:set_class(2);">超級管理員</a></li>
              </ul>
            </div>
          </div>
          <button type="submit" class="btn btn-default">Submit</button>
        </form>
      </div>
    </div>
    <!-- /.modal-content -->
  </div>
  <!-- /.modal-dialog -->
</div>
<!-- /.modal -->